package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.SpuImage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SpuImageMapper extends BaseMapper<SpuImage> {
    void batchInsert(
            @Param("spuId") Long spuId,
            @Param("spuImageList") List<SpuImage> spuImageList);
}
